<template>
    <el-config-provider :size="setting.size">
        <router-view></router-view>
    </el-config-provider>
</template>

<script lang="ts" setup>
import { useSetting } from '@/store'
import { storeToRefs } from 'pinia'

const useSet = useSetting()
useSet.init()
const { setting } = storeToRefs(useSet)
</script>
